package com.redare.dev.smart.generator.service.config;


import org.springframework.beans.factory.annotation.Value;

/**
 * Created by yangqy on 2020/7/9.
 */
public class ServiceConfig {


    @Value("#{config['service.approveFlow.sysCode']}")
    private String approveSysCode;

    @Value("#{config['service.ddgateway.enterpriseCode']}")
    private String enterpriseCode;

    @Value("#{config['system.default.platform']}")
    private String defaultPlatform;

    @Value("#{config['system.default.roleId']}")
    private Long defaultRoleId;

    @Value("#{config['system.default.menuId']}")
    private Long defaultMenuId;

    @Value("#{config['calculate.manage.rate']}")
    private String manageRateStr;

    @Value("#{config['calculate.invoice.money']}")
    private String invoiceMoneyStr;

    @Value("#{config['calculate.should.inputTax']}")
    private String inputTaxStr;

    /**
     * 平台客户角色ID
     */
    @Value("#{config['platform.roleId.customer']}")
    private Long platformRoleIdCustomer;


    public String getEnterpriseCode() {
        return enterpriseCode;
    }

    public String getApproveSysCode() {
        return approveSysCode;
    }

    public String getDefaultPlatform() {
        return defaultPlatform;
    }

    public Long getDefaultRoleId() {
        return defaultRoleId;
    }

    public Long getDefaultMenuId() {
        return defaultMenuId;
    }

    public Long getPlatformRoleIdCustomer() {
        return platformRoleIdCustomer;
    }

    public String getManageRateStr() {
        return manageRateStr;
    }

    public String getInvoiceMoneyStr() {
        return invoiceMoneyStr;
    }

    public String getInputTaxStr() {
        return inputTaxStr;
    }
}
